package com.cx.service;

import com.cx.pojo.City;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface CityService {
    public List<City> findAll();

    public PageInfo<City> findPages(Integer pageNumber,Integer number);

    public PageInfo<City> delete(Integer cityid);

    public City findById(Integer cityid);

    public int update(City city);

    public Map<String,Object> findByIdAndCountry(Integer cityid);

    public int delets(Integer cityid);

    public int add(City city);
}
